<template>
	<view class="box-index">
		<NavBar title="首页" />

		<IndexSwiperVue />

		<CategoryVue />

		<TellVue />

		<DayGetRow :daysAgo="0"></DayGetRow>

		<GoodChoiceVue />

		<ThemeRowsVue />

		<FixedFun />
	</view>
</template>

<script setup>
// 快速导入 import [文件名]Dagetvue 回车
import IndexSwiperVue from './components/IndexSwiper.vue'
import CategoryVue from './components/Category.vue'
import TellVue from './components/Tell.vue'
import GoodChoiceVue from './components/GoodChoice.vue'
import ThemeRowsVue from './components/ThemeRows.vue'
import { onReachBottom } from '@dcloudio/uni-app'
import { onPageScroll } from '@dcloudio/uni-app'

// 必须在这里调用一次，否者他的子页面用不了！
onReachBottom(() => {})
onPageScroll(() => {})
</script>

<style scoped lang="scss">
.box-index {
	margin: 0 $my-margin-rpx;
}
</style>
